package com.example.demo.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.Dto.CreditDto;
import com.example.demo.Dto.CreditGetDto;
import com.example.demo.VO.CreditVo;
import com.example.demo.po.Credit;


public interface CreditService extends IService<Credit> {
    CreditVo saveCredit(CreditDto creditDto);

    void deletebyId(CreditGetDto id);

    CreditVo getCredit(String cardNumber);

    IPage<CreditVo> getCreditBysize(Integer pageNum, Integer pageSize);
}
